Learning Label Embeddings for Nearest-Neighbor Multi-class Classification with an Application to Speech Recognition