Analysis of tablet film coating quality using terahertz pulsed imaging