Learning Methods to Generate Good Plans: Integrating HTN Learning and Reinforcement Learning