Conditional Generative Adversarial Networks for Optimal Path Planning