A neural active inference model of perceptual-motor learning