Physical characteristics, electrochemical behavior, and stability of BaFeO4