Application of self-organized quantum dots to edge emitting and vertical cavity lasers