Lightning and surge protection for rooftop photovoltaic systems