SolBench: A Dataset and Benchmark for Evaluating Functional Correctness in Solidity Code Completion and Repair