Differentiable Product Quantization for Memory Efficient Camera Relocalization