Effects of land-use change on matter and energy exchange between ecosystems in the rain forest margin and the atmosphere