what year did barack obama get elected as president?