Large deviations and metastability: Large deviations and statistical mechanics