Correlation between the refractive index and the energy gap of simple and complex binary compounds—II