Deep Supervised Hashing by Classification for Image Retrieval