Origin of the Palau and Yap trench-arc systems