Effect of a community-based primary healthcare program on adverse pregnancy outcomes in Northern Ghana