Extracting nanoscale structures from experimental and synthetic data with reverse Monte Carlo