Relationship between configuration interaction and coupled cluster approaches