A run-down Welsh city plans to power its homes by harnessing the tides