XPS study of transition metal doped silicate glasses