COG: Connecting New Skills to Past Experiences with Offline Reinforcement Learning