Collaborative Action Planning of Humanoid Robots Exchanging an Object