Sex Differences in Cognitive Task Performance and Dendritic Arborization