How long did the French stay at French polynesia?