The crystal chemistry underlying ferroelectricity in Bi4Ti3O12, Bi3TiNbO9, and Bi2WO6