Electronic excitation of K atoms in collisions with diatomic molecules: Thresholds and energy dependence from 1–5 eV