Ion-cyclotron waves in nonuniform plasmas and parametric instabilities