Image Retrieval with Reciprocal and shared Nearest Neighbors