Function of nanoparticles in transdermal and transmucosal drug delivery systems