High power Nd:YAG and CO2 laser welding of magnesium