what is barack obama's year elected?