Density functional theory calculations for the interaction of oxygen with reduced M/SnO2 (M=Pd, Pt) surfaces