Large-Scale Unsupervised Hashing with Shared Structure Learning