A robotic system for adaptive training and function assessment of forelimb retraction in mice