when water is heated to transform from a liquid to a gas