Mechanism for the high voltage photovoltaic effect in ceramic ferroelectrics