Magnetic doping of the golden cage clusterM@Au16(M=Fe,Co,Ni)