Learning Probabilistic Generative Models For Fast Sampling-Based Planning