Thermo field dynamics and quantum algebras