Chameleon: Plug-and-Play Compositional Reasoning with Large Language Models