Diesel-mechanical locomotives