Fingerprints of sp1 Hybridized C in the near-edge X-ray absorption spectra of surface-grown materials