IAO Prompting: Making Knowledge Flow Explicit in LLMs through Structured Reasoning Templates