Development of radiation-resistant magnets for the JHF project