Structural Properties and Stability of Inorganic CsPbI3 Perovskites