3D-functionalized shell isolated Ag nanocubes on a miniaturized flexible platform for sensitive and selective SERS detection of small molecules