Chemical synthesis, spectral characterization and stability of some electrically conducting polymers