Spin-isospin dependent effective interaction in nuclei