Development of an index for frost prediction: Technique and validation