Study of ideal vacancies in CdS and CdSe in the wurtzite structure