Law firms need to learn from in-house legal departments