French president Macron visits former colonies in French Polynesia