The effect of sample preparation on the preferred orientation of polycrystalline YBa2Cu3O7