Successive near-room-temperature dielectric phase transitions in a lead-free hybrid perovskite-like compound