Historical trends in carbon dioxide concentrations and temperature, on a geological and recent time scale