Optimization of ECR singly-charged ion sources for the radioactive ion beam production