Entangling capacities and the geometry of quantum operations