From chemical philosophy to theoretical chemistry :dynamics of matter and dynamics of disciplines, 1800-1950