Bolivia could earn hundreds of millions under global warming deal