X-ray study of oxygen monolayers on graphite