An automated method to find optimal breakpoints in sorting of prickly pears (Opuntia ficus-indica Mill.) by weight