AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts