What role did the invention of new laboratory apparatuses play in the advancement of chemical knowledge in the 17th and 18th centuries?