Correlations between structural properties and valence of cerium in CeIr2Si2