From Perception-Action loops to imitation processes