Generating micropatterns onto the core of an optical fiber end with nanoparticles using fiber modes