Electromagnetic pulse protection method and electromagnetic pulse protection system