Hierarchical Planning Through Goal-Conditioned Offline Reinforcement Learning