Second-order temporal and spatial coherence of thermal electrons