Invia SMS: Solid state characterization of pharmaceuticals