Steam-electric locomotive