Smart and electronic textiles for safety and rescue