New Caledonia earthquake leads to tsunami warning