Two of the world's smallest countries are to place nearly 2.5 million square kilometres of south Pacific Ocean in newly created marine protected areas.