Surface properties of SmB6 from x-ray photoelectron spectroscopy