Atomistic band gap engineering in donor-acceptor polymers.