Top-down perceptual inference shaping the activity of early visual cortex