Tailored Band Gaps in Sulfur- and Nitrogen-Containing Porous Donor-Acceptor Polymers