Efficient Autotuning of Hyperparameters in Approximate Nearest Neighbor Search