QCD thermodynamics with three flavors of improved staggered quarks