what day and year was barack obama elected president?