A hierarchical system for a distributed representation of the peripersonal space of a humanoid robot