From Complex to Simple: Unraveling the Cognitive Tree for Reasoning with Small Language Models