Microprinting and microetching of diffractive structures using ultrashort laser pulses