when did thomas jefferson serve as vice president under john adams?