On the use of a dual-scale model to improve understanding of a pharmaceutical freeze-drying process