Barack Obama wins US re-election