Security of Railways Against Electromagnetic Attacks