Electrification of railways