Ethnobotany and ethnoecology applied to historical ecology