Kondo-assisted switching between three conduction states in capacitively coupled quantum dots