Large deviations for Gibbs random fields