Distortion and Residual Stress in High-Pressure Die Castings: Simulation and Measurements