Determining structural ensembles of flexible multi-domain proteins using small-angle X-ray scattering and molecular dynamics simulations