Second-Order Semiclassical Perturbation Theory for Diffractive Scattering from a Surface