A model of cognitive and operational memory of organizations in changing worlds