The Helmholtz equation least-squares method and Rayleigh hypothesis in near-field acoustical holography