AReviewonPolymer Nanocomposites and Their Effective Applications in Membranes and Adsorbents for Water Treatment and Gas Separation