Gravar-mail: Statistical connection of binomial photon counting and photon averaging in high dynamic range beam-scanning microscopy