Quantification, mechanism, and mitigation of active ingredient phase transformation in tablets.