Enhanced Robot Planning and Perception through Environment Prediction