Fiber nanogratings induced by femtosecond pulse laser direct writing for in-line polarizer.