Quantitative analysis of the layer separation risk in bilayer tablets using terahertz pulsed imaging.