The characterization of the mechanical properties of pharmaceutical materials