Nanoscale crystallization of a low band gap polymer in printed titania mesopores.