The influence of scientific theories on the design of botanical gardens around 1800