Photovoltaics surge protection