Analysis of a phase change material-based unit and of an aluminum foam/phase change material composite-based unit for cold thermal energy storage by numerical simulation