US confectioners Hershey Foods and Mars have both announced increases in the wholesale prices of their US chocolate bars as a result of rising costs of cocoa and other commodities.