Chemistry Through Invariant Theory? James Joseph Sylvester's Mathematization of the Atomic Theory