Structure-activity relationships of thiazole and benzothiazole derivatives as selective cannabinoid CB2 agonists with in vivo anti-inflammatory properties.