Data from: Near-infrared spectroscopy aids ecological restoration by classifying variation of taxonomy and phenology of a native shrub