CoTAR: Chain-of-Thought Attribution Reasoning with Multi-level Granularity