Scattering of a TM plane wave from periodic random surfaces