Stability studies of electrically conducting polyheterocycles