An imaging spectrometer operating in the visible near infrared for the study of planetary surfaces