Advice and litigation in corporate law