Photovoltaic properties and photoconductivity of A2B2O7 ferroelectrics