Microcavity devices based on a ladder-type poly(p-phenylene) emitting blue, green, and red light