Heat transfer enhancement in phase change materials (PCMs) by metal foams and cascaded thermal energy storage