Long-range Ising and Kitaev models: phases, correlations and edge modes