X-ray diffraction on a multilayer structure modulated by surface acoustic waves