Assessment of maternal near‐miss and quality of care in a hospital‐based study in Accra, Ghana