Statistics of twin-beam states by photon-number resolving detectors up to pump depletion