Bering: joint cell segmentation and annotation for spatial transcriptomics with transferred graph embeddings