Effect of magnetic impurities on superconductivity and spin correlation of La2-xSrxCuO4