Development of an Online Quality Control System for Resistance Spot Welding