An Approach for Automated and Optimized Selection of Weldguns for Spot Welding in Automotive Body Shop