Current resonance in lightning protection systems for direct and nearby strikes