Threshold selection by maximizing the between-class variance of a fuzzy 2-partition