Advising buyers and sellers of middle-market companies