Lightning protection for sensitive electronics