Spectroscopic Imaging of the Compaction and Dissolution of Model Pharmaceutical Formulations