Synthesis, structure, and magnetic and dielectric properties of magnetoelectric BaDyFeO4 ferrite