Proof of the geometric Langlands conjecture