Interplay between synaptic endocannabinoid signaling and metaplasticity in neuronal circuit function and dysfunction