Generation of radiation by upper-hybrid waves in non-uniform plasmas