Adaptation to a humanoid robot in a collaborative joint task