Gamma-Convergence for one-dimensional nonlocal phase transition energies