Near-threshold photoproduction of ϕ mesons from deuterium