Groups of Galaxies in the Two Micron All Sky Redshift Survey