Effects of nonmagnetic impurity atoms on the spin-density-wave model of high-temperature superconductivity