Mechanical investigation of perforated and porous membranes for micro-and nanofilter applications