Optical-fibre cables could spot tsunamis or the effect of climate change on currents, researchers say.