A historian’s unvarnished biography reveals the complicated man who invented modern taxonomy