Lectures on the statistical thermodynamics of nonequilibrium steady states