Predictors of optimal uptake of intermittent preventive treatment of malaria in pregnancy using sulfadoxine-pyrimethamine and outcome of pregnancy in selected health facilities: a cross-sectional study in Northern Ghana