2D and 3D laser writing for integrated optical elements creation