Three-dimensional model of phase transition of thin sucrose films during drying.