A new stellar library in the K band for the empirical calibration of the CO index