Effects of the Solder Phase Transformation on the Optimization of Reflow Soldering Parameters and Temperature Profiles