which us president graduated from yale and from harvard?