Scientists believe an error in the way carbon is counted could undermine efforts to reduce greenhouse gas emissions.