DiReCT: Diagnostic Reasoning for Clinical Notes via Large Language Models