Ab initio calculations of two-electron emission by attosecond pulses