Guardian hires legal chief from Times