Electrodeposited semiconductor nanostructures & epitaxial thin films for flexible electronics