A Neural Network Model of Complementary Learning Systems: Pattern Separation and Completion for Continual Learning