Risk assessment in freeze-drying processes