Near-infrared spectroscopy to determine residual moisture in freeze-dried products: model generation by statistical design of experiments.