Learning Scene Semantics for 3D Scene Retrieval