Interaction of nanoparticles with non-spherical micelles and bilayers