Melting and solidification of a phase change material with constructal tree-shaped fins for thermal energy storage