Shedding light on epitaxial graphene by using high-resolution x-ray photoelectron spectroscopy