Adaptive tuning of infrared emission using VO2 thin films