Robot imitation as a method for modeling the foundations of social life