Bio-inspired approaches to design smart fabrics