Microstructures and mechanical properties of resistance spot welded magnesium alloy joints