A Comparative Investigation of Compositional Syntax and Semantics in DALL-E 2