How energy is transformed in a thermal power station?