X-ray photoelectron study of lanthanide borosilicate glass