Effects of Boundary Conditions and Operating Parameters on Temperature Distribution during the Friction Stir Welding Process