SnAKe: Bayesian Optimization with Pathwise Exploration