NEXAFS study of molecular orientation in physisorbed oxygen on graphite