The role of anions and cations in the gas sensing mechanisms of graphene decorated with lead halide perovskite nanocrystals.