(Hg,Re)Ba2CaCu2Oy thin films with improved surface morphology