Threshold photoelectron and TOF photoelectron spectra of Ar2+ and Kr2+