Collaborative Learning of Hierarchical Task Networks from Demonstration and Instruction