X-RAY AND ELECTRON-BEAM LITHOGRAPHY OF THREE-DIMENSIONAL ARRAY STRUCTURES FOR PHOTONICS