Endocannabinoids and lipid mediators in brain functions