New biographies explore how Garfield and Lincoln dealt with