Excimer laser micromachining and replication of 3D optical surfaces