The effects of individual and community-level factors on maternal health outcomes in Ghana