Porosity and Ring Formation in Conjugated Microporous Polymers