when did thomas jefferson become the president of the us?