Greedy Hash: Towards Fast Optimization for Accurate Hash Coding in CNN