Nanomechanical Characterization of 1D Nanomaterials for Structure and Energy Applications