Human-Robot Cooperation Based on Interaction Learning