who was elected as the fist african american president?