Learning Multi-Step Robotic Manipulation Tasks Through Visual Planning