DITTO: Offline Imitation Learning with World Models