Rouhani wins re-election as Iran's president