Medical Report Generation based on Segment-Enhanced Contrastive Representation Learning