Single-material MEMS using polycyrstalline diamond