The role of soil processes in δ18O terrestrial climate proxies