Emission of radiation by a resonance medium excited with a variable superluminal velocity