Relationship between structure and properties in high-temperature Bi(Al0.5Fe0.5)O3–PbTiO3 piezoelectric ceramics