Referential continuity and the coherence of discourse