Numerical model for solar thermal collectors and thermal energy storages based on phase change slurry