Computational models of learning in the hippocampus and the basal ganglia