Dynamic bulk photovoltaic effect