Measurements of B meson decays to ωK* and ωρ