Statistical Mechanics: Principles and Selected Applications