Folkekirken har haft en vigtig rolle i udviklingen af demokratiet i Danmark, lyder det nu fra to professorer.