A framework for sensorimotor exploration in robots