Flux trapping and levitation forces in directionally solidified superconducting YBa2Cu3O7 ingots