Dunbar captures British Amateur to become third Northern Ireland winner