The dependence of the optical energies on InGaN composition