Two-electron coherence and its measurement in electron quantum optics