Analytical Transmission Electron Microscopy of InAs/GaAs quantum dots and GaInNAs/GaAs quantum wells