Thermal redistribution of localized excitons and its effect on the luminescence band in InGaN ternary alloys