Risk factors and classification of stillbirth in a Middle Eastern population: a retrospective study