Automatic Curriculum Generation by Hierarchical Reinforcement Learning