Effects of interface-layers composition and strain distribution on the optical transitions of InAs quantum dots on InP