Tidal analysis of the South China Sea