The role of cognitive development on visual perception of illusory configurations