Fabrication of electronic devices for energy storage and harvest using microfibrillated cellulose