Medium-resolution Isaac Newton Telescope library of empirical spectra - II. The stellar atmospheric parameters