Physiological and pathophysiological functions of the endocannabinoid system in the central nervous system