High-resolution infrared observations in IC 5146