Near infrared imaging spectroscopy of NGC 1275