Sol–gel synthesis and properties of multiferroic BiFeO3