Inhomogeneous superconductivity coexisting with SDW stripes in the two-dimensional Hubbard model