Impurity position effect on optical properties of various quantum dots