A novel computational method for automatic segmentation, quantification and comparative analysis of immunohistochemically labeled tissue sections