Measurement of Ds+ and Ds*+ production in B meson decays and from continuum e+e- annihilation at s=10.6 GeV