The translationally-invariant coupled cluster method in coordinate space