Surface and internal tides above sea-floor topography