Energy storage and heat storage equipment