which president graduated from yale and harvard before entering politics?