Old National, First Midwest agree to $6.5 billion merger