Learning Lateral Interactions for Feature Binding and Sensory Segmentation