One Loss for All: Deep Hashing with a Single Cosine Similarity based Learning Objective