Glass-box modeling for quality assessment of resistance spot welding joints in industrial applications