According to Piaget's theory of cognitive development, during which stage do children first develop the ability to think logically about abstract concepts?