Ejected electron energy distributions for double ionization via direct and rearrangement mechanisms