Learning joint actions in human-human interactions