Strain distribution and optical phonons in InAs/InP self-assembled quantum dots