Quantum oscillations in adsorption energetics of atomic oxygen on Pb(111) ultrathin films: A density-functional theory study.