Oxygen and Carbon Found in Atmosphere of an Extrasolar Planet