Electrostatic interactions in the channel cavity as an important determinant of potassium channel selectivity