Choreographer: Learning and Adapting Skills in Imagination