The use of near-infrared spectroscopy in the efficient prediction of a specification for the residual moisture content of a freeze-dried product