hot water boiler working principle