Variability in the thermal structure of ocean waters in periods of strong seismic activity