In-clustering induced anomalous behavior of band gap in InAlN and InGaN