Nanothermodynamics[electronic resource] :theory and applications