Synthesis and structure-activity relationship study of pyrazolo[3,4-d]pyrimidines as tyrosine kinase RET inhibitors.