Development of textile-based sensors and their applications