THERMAP: a mid-infrared spectro-imager for space missions to small bodies in the inner solar system