Micromachining of diamond with a near-field scanning optical microscope