Tsunami heads for N.Zealand, Tonga after 7.7 quake