X-ray excited Auger and photoelectron spectra of magnesium, some alloys of magnesium and its oxide