Modeling solid-state transformations occurring in dissolution testing.