Effect of anomalous bulk photovoltage in ferroelectrics