Tracing the oxygen isotope composition of the upper Earth's atmosphere using cosmic spherules