Gelation and cross-link inhomogeneity of phenolic resins studied by 13C-NMR spectroscopy and small-angle X-ray scattering