Switching plasmonic nanogaps between classical and quantum regimes with supramolecular interactions