Underpinning mechanistic understanding of the segregation phenomena of pharmaceutical blends using a near-infrared (NIR) spectrometer embedded segregation tester.