Excited state polarization, bulk photovoltaic effect and the photorefractive effect in electrically polarized media