Theoretical study of the ordered-vacancy semiconducting compound CdAl2Se4