Water Vapor and Carbon Monoxide Broadening and Line Shifts Inside Aerogel Nanopores