Determinants of perceived quality of obstetric care in rural Tanzania: a cross-sectional study