Method of making and using shape memory polymer composite patches