A biomimetic fly photoreceptor model elucidates how stochastic adaptive quantal sampling provides a large dynamic range