The Brazilian construction giant Odebrecht has admitted paying millions of dollars in bribes in a dozen countries.