Probing interface roughness by X-ray scattering