First-Principles Insight into the Degradation Mechanism of CH3NH3PbI3 Perovskite: Light-Induced Defect Formation and Water Dissociation