Factors affecting the grieving process after perinatal loss