Characteristics of pregnant women at risk and relationship with type of delivery and complications