The impact of random porosity distribution on the composite metal foam-phase change heat transfer for thermal energy storage