High-resolution X-ray photoelectron spectroscopy of crystalline and amorphous poly(ethylene terephthalate): a study of biaxially oriented film, spin cast film and polymer melt