The generation of internal tides at abrupt topography