Pinning of Vortices at Twin Boundaries in YBa2Cu3O7−x Single Crystals