Determination of declinations and latitude from azimuths and zenith distances