Derivative-free online learning of inverse dynamics models