Networks with given two-point correlations: hidden correlations from degree correlations.