Tunable dielectric transitions in layered organic-inorganic hybrid perovskite-type compounds: [NH3(CH2)2Cl]2[CdCl4-4xBr4x] (x = 0, 1/4, 1).