Superconductivity in the two-dimensional t-J model