Inductive Hashing on Manifolds