PepsiCo and Cargill are among 13 US companies to issue pledges on climate change as part of a wider commitment drawn up by the US government.