Selling carbon credits has enabled Mike Gibbs’ community to end destructive farming and logging practices