Nanoantennas: from Theoretical Study of Configurations to Potential Applications