Two-dimensional diffraction grating fabricated by maskless lithography