Surge arresters for photovoltaic systems