Explanation of annealing-induced blueshift of the optical transitions in GaInAsN/GaAs quantum wells