Surface wave effect on light scattering from one-dimensional photonic crystals