X-ray scattering of periodic and graded multilayers: comparison of experiments to simulations from surface microroughness characterization