Poverty dynamics, ecological endowments, and land use among smallholders in the Brazilian Amazon.