Prediction and planning under uncertainty with Active Visual Planning