Measuring carbon in forests