What Obama can learn from Lincoln