Toward efficient and air-stable carbon-based all-inorganic perovskite solar cells through substituting CsPbBr3 films with transition metal ions