Dynamic conductivity modified by impurity resonant states in doping three-dimensional Dirac semimetals