Automatic segmentation of histological structures in normal and neoplastic mammary gland tissue sections