Pointing accuracy of the ANTARES detector: Moon shadow and surface array analysis