Influence of sample characteristics on quantification of carbamazepine hydrate formation by X-ray powder diffraction and Raman spectroscopy.