which president graduated from harvard and from yale?