From principles to practices: the intertextual interaction between AI ethical and legal discourses