Robotic manipulation of flexible objects