Generative AI in law: opportunity, risk and responsibility