Substitution Effects in Intertemporal Problems