Gravar-mail: Graph-based active learning of agglomeration (GALA): a Python library to segment 2D and 3D neuroimages