Structure of palladium nanoparticles under oxidative conditions