Fuelling the obscured star formation at high redshift: surveying the CO(1-0) and HCN(1-0) emission in dusty galaxies