how do boilers work what is their use on ships