Prez, VP condole loss of lives in TN's Thanjavur