Synthesis and Characterization of Polymer Composites for Anticorrosive Coating and Gas Sensing Applications