A Monte Carlo generator of nucleon configurations in complex nuclei including nucleon–nucleon correlations