Impurity effect on the line shape of the photoluminescence spectrum of modulation-doped quantum wells