At the Barbican Gallery and the De la Warr Pavilion, two exhibitions focus on the nature of collaboration and the role of creative influence