Functionalization of 2-methyl- and 2,7-dimethyl-1,8-naphthyridine