Generalised NMR-moisture correlation function of building materials based on a capillary bundle model