Factors associated with contracted services of Chinese family doctors from the perspective of medical staff and consumers: a cross-sectional study