Continual reinforcement learning with memory at multiple timescales