Synthesis and processing of conducting polymer microlasers and microsize light emitting diodes