Structure determination of molecular nanocomposites by combining pair distribution function analysis and solid-state NMR