Synthesis and biological evaluation of 1,8-naphthyridine and quinoline derivatives as CB2 selective agonists