A Biologically-Inspired Cognitive Agent Model Integrating Declarative Knowledge and Reinforcement Learning