Phasor imaging with a widefield photon-counting detector.