Development and testing of nanostructured porous materials for water treatment