Explicit Embeddings for Nearest Neighbor Search with Mercer Kernels