Theoretical Characterization of Electronic Transitions in Co2+- and Mn2+-Doped ZnO Nanocrystals