The structure of liquid N-methyl pyrrolidone probed by x-ray scattering and molecular simulations