Correlation between structural and optical properties of InAs quantum dots along their evolution