Generating quantizing pseudomagnetic fields by bending graphene ribbons