Automating image segmentation and morphometric analysis for accelerating neuroscience at the nanoscale