"Near-miss" obstetric events and maternal deaths in Sagamu, Nigeria: a retrospective study