Invariants of 4-manifolds with the homology of $S^1\times S^3$