how does boiler heat hot water