Learning the body schema in a humanoid robot