John Theodore Merz (1840–1922), Chemist, Historian and Industrialist