On the use of temperature measurement to monitor a freeze-drying process for pharmaceuticals.