Steering of charged particle trajectories by a bent crystal