Localized structural and bulk effects in hybrid organic-inorganic perovskites