Thermodynamics of four-flavour QCD with improved staggered fermions