Coexistence of domain relaxation with ferroelectric phase transitions in BaTiO3