An experimental investigation on the cooling curve and drying behavior of static and spin-frozen samples in freeze–drying process