Chemical nanofabrication: a general route to surface-patterned and free-standing transition metal chalcogenide nanostructures