Measurement of the inclusive charmless semileptonic branching ratio of B mesons and determination of vertical bar V-ub vertical bar