The chiral transition in two-flavor QCD