Effect of Incorporated Nitrogens on the Planarity and Photovoltaic Performance of Donor–Acceptor Copolymers