Nanoantenna harmonic sensor: theoretical analysis of contactless detection of molecules with light