Goal-Conditioned Hierarchical Prediction