Combined plants with medium-speed Diesel engines and steam or gas power turbines