Large and Moderate Deviations in the Ising Model