Local structure investigation and properties of Mn-doped BiFeO3–BaTiO3 ceramics