Magnetic resonance studies of transport in multiphase pharmaceutical delivery and mixing systems