Adaptive optics control using model-based reinforcement learning.