A role for dorsal and ventral hippocampus in response learning