Developing agile motor skills on virtual and real humanoids