Sex Differences in New York Heart Association Functional Classification and Survival in Acute Heart Failure Patients With Preserved or Reduced Ejection Fraction.