Task-Oriented Quality Measures for Dextrous Grasping