Towards a Unified Control Framework for Humanoid Robots and their Virtual Avatars in Physical and Virtual Reality-based Interactions.