Development of the National Institute of Radiological Sciences electron cyclotron resonance ion source for the heavy ion medical accelerator in Chiba