Phase distribution near the focus in systems of different Fresnel numbers