Electrical and optical characterization of Mg, Mg/P, and Mg/Ar implants into InP:Fe