Optical gas sensor based on the combination of a QD photoluminescent probe and a QD photodetector