Thermal transition in helical forms of Salmonella flagella