Direct optical carbon dioxide sensing based on a polymeric film doped with a selective molecular tweezer-type ionophore.