Mechanism for the Peritectic Reaction and Growth of Aligned Grains in YBa2Cu3O6+x