A semiclassical surface-hopping procedure for vibrational relaxation in polyatomic molecules: model calculations