Micromaching of silicon, sapphire, ceramic, and metal