Reinforcement Learning for Mobile Robot Collision Avoidance in Navigation Tasks