Temporal contrual theory of time-dependent preferences