Measurements of the branching fractions of exclusive charmless B meson decays with eta ' or omega mesons