Origins and development of applied chemistry