Temporal Sequence Effects: A Memory Framework