Investigation of intelligent reversible diaphragm using shape memory polymers