Supervised Discrete Hashing with Relaxation