A new type of 'smart' clothing which adapts to changing temperatures to keep the wearer comfortable is being developed by two universities using nature as a guide.