Characterization of group radicals with an application to Mal'cev products