Text this: Revealing the correlation between gas selectivity and semiconductor energy band structure derived from off-stoichiometric spinel CdGa2O4.