A new approach to predict the formation of 3D hybrid organic‐inorganic perovskites