Excited states of three-electron atomic systems with two vacancies in the K shell