Polythioethers from mercapto compounds or metallic derivatives thereof from mercapto compounds and unsaturated compounds