Presynaptic and postsynaptic NMDA receptors mediate distinct effects of brain-derived neurotrophic factor on synaptic transmission.