Nanocellulose foils for three-dimensional electronics