MS/MS spectra interpretation as a statistical-mechanics problem.