Effect of the degree of inversion on optical properties of spinel ZnFe2O4.