A natural decomposition of $S^1$-invariant linear connections on $S^1$-bundles