Mechanisms of oxygen adsorption and desorption on polycrystalline palladium