How does learning and memory shape perceptual development in infancy?