Teaching Arm and Head Gestures to a Humanoid Robot through Interactive Demonstration and Spoken Instruction