SAN FRANCISCO -- The market research boom is creating an unexpected casualty: the agencies themselves. In an industry where clients…