Production of ω mesons at large transverse momenta in p+p and d+Au collisions at sNN=200 GeV