A polarimetric sensor based on nanoporous free standing membranes