Maximum-likelihood estimation of photon-number distribution from homodyne statistics | Synapse