Adaptive quantum tomography