Heat transfer characteristics of d-mannitol as a phase change material for a medium thermal energy system