Electronic, optical, elastic, thermoelectric and thermodynamic properties of the spinel oxides ZnRh2O4 and CdRh2O4