Deep learning for automated analysis of dendritic spines in volumetric microscopic images