Free-standing mechanical and photonic nanostructures in single-crystal diamond