Resveratrol attenuates methylmercury-induced neurotoxicity by modulating synaptic homeostasis.