Hydrogen bonds and steric effects induced structural modulation of three layered iodoplumbate hybrids from nonperovskite to perovskite structure.