Cold nuclear matter effects on ϕ meson and heavy flavor production in d + Au collisions at sNN=200 GeV