Study of the e+e- →k+K- reaction in the energy range from 2.6 to 8.0 GeV