Formation of electrical circuits in textile structures