The synthesis and SAR of new 4-(N-alkyl-N-phenyl)amino-6,7-dimethoxyquinazolines and 4-(N-alkyl-N-phenyl)aminopyrazolo[3,4-d]pyrimidines, inhibitors of CSF-1R tyrosine kinase activity