IRAF tools for photometry and astrometry