The application of the electron-cyclotron resonance source to Lamb-shift polarized ion sources