Space-based infrared interferometry to study exoplanetary atmospheres