Bangor and Bethesda were linked by a railway in the late 19th and 20th centuries