Site of transition metal ions in ion-exchanged metal-doped glasses