Describir: Information preservation-based hashing for image retrieval