Electric steam generator and gas boiler