Officials cast the announcement as a statement of resolve by the world’s two largest greenhouse gas polluters, even though there are doubts about whether the United States can meet its obligations.