Spectroscopic evidence and control of compensating native defects in doped ZnSe