First principles calculations of double ionization energy spectra and two-electron distribution function using T-matrix theory