A simple model for interaction cooperativity in flexible macromolecules