Ferroelectricity and ferrimagnetism in iron-doped BaTiO3