Analysing Thermal Energy Storage in Residential Buildings: Towards Decarbonization of the Heating Sector