Structure, energetics and dynamics of ligand binding to dihydrofolate reductase.