Overvoltage protection of light railway transportation systems