Surge protection for PV systems