AES and core level photoemission in the study of a -C and a-C:H