Can facility delivery reduce the risk of intrapartum complications-related perinatal mortality? Findings from a cohort study