First-principles T-matrix calculations of double-ionization energy spectra of atoms and molecules.