On the heterogeneity of drug dissolution and release