Reconstructing the time-variable sea surface from tide gauge records using optimal data-dependent triangulations