Invariant Theory, the Riccati Group, and Linear Control Problems