Uncertainty-sensitive Learning and Planning with Ensembles