Optimal selection of the motor-reducer unit in servo-controlled machinery: A continuous approach