Plan2Vec: Unsupervised Representation Learning by Latent Plans