Phase-Transition Thermal Charging of a Channel-Shape Thermal Energy Storage Unit: Taguchi Optimization Approach and Copper Foam Inserts