Obesity diminishes synaptic markers, alters microglial morphology, and impairs cognitive function