Optimization of quantum state tomography in the presence of experimental constraints