gas natural boiler working principle