Synthesis And Characterization Of Chemically Functionalized Shape Memory Nanofoams For Unattended Sensing Applications