The mediating role of psychological capital on the association between workplace violence and professional identity among Chinese doctors: a cross-sectional study