Signatures of circumstellar interaction in the unusual transient AT 2018cow