ω-meson photoproduction on nucleons in the near-threshold region