Phase transitions and dielectric properties of a hexagonal ABX3 perovskite-type organic-inorganic hybrid compound: [C3H4NS][CdBr3].