Unsupervised Representation Learning by Latent Plans