Band gap and molecular energy level control of perylene diimide-based donor-acceptor copolymers for all-polymer solar cells