Write once read many times resistance switching memory based on all-inorganic perovskite CsPbBr3 quantum dot