Curie temperature effects on resistance spot welding