Authoring and Operating Humanoid Behaviors On the Fly using Coactive Design Principles