Uncertainty-guided Search for Multi-step Reasoning in LLMs