Design, synthesis and biological evaluation of novel 3-substituted pyrazolopyrimidine derivatives as potent Bruton's tyrosine kinase (BTK) inhibitors.