In situ Fourier transform infrared spectroscopic study of carbon dioxide reduction on polycrystalline platinum in acid solutions