Electronic structure of the ideal vacancies in Ge, GaAs and ZnSe crystals