Smart clothing with the ability to adapt its properties to the user's needs