Computational roles of feedback and recurrent connections in visual cortex