Pharmacological effects of cannabinoids on the reference and working memory functions in mice