Improved actions for QCD thermodynamics on the lattice