Organic-Inorganic Dipolar and Quadrupolar Coupling Underlies the Structure and Properties of Hybrid Perovskites