Diffraction of a plane wave by a rapidly oscillating surface