Nitrate and Nitrite Hydrogenation with Pd and Pt/SnO2 Catalysts: The Effect of the Support Porosity and the Role of Carbon Dioxide in the Control of Selectivity