Effect of film structure on CH3NH3PbI3 perovskite thin films’ degradation