Focused ion beam machining and deposition for nanofabrication