Thermomechanics of Solids With Lower-Dimensional Energetics: On the Importance of Surface, Interface, and Curve Structures at the Nanoscale. A Unifying Review