Structural phase relations in perovskite-structured BiFeO3-based multiferroic compounds