A special method to create gratings of variable line density by low voltage electron beam lithography