Gravar e-mail: Effect of magnetic field and impurities in InAs/GaAs and GaN/AlN self-assembled quantum dots