Statistical Mechanics of Information Processing inCooperative Systems