Pharmaceutical tablet hardness measurements with THz pulsed imaging