Preparation of 4-​amino-​substituted pyrazolo[3,​4-​d]​pyrimidine and pyrrolo[2,​3-​d]​pyrimidine derivative as the Src family kinases