Near-Infrared Imaging Spectroscopy of M82