Tuvalu looking at legal ways to be a state if it is submerged