Adsorption of a thione derivative on carbon, AlN, and BN nanotubes: a detailed DFT and MD investigation