Sequential structural transitions with distinct dielectric responses in a layered perovskite organic-inorganic hybrid material: [C4H9N]2[PbBr4].