Antenatal care as a risk factor for caesarean section: a case study in Brazil