Building and Leveraging Category Hierarchies for Large-scale Image Classification