The US government has reached an agreement under which Brazil will open up its market to US beef and beef products for the first time since 2003.