Difficulty-Adaptive Self-Consistency