Bandgap and band edge positions in compositionally graded ZnCdO