Exploring the Factors Affecting the Mechanical Properties of 2D Hybrid Organic-Inorganic Perovskites.