why were zoos developed and what goes in to creating a proper environment for the animals?