Nano-scale structure of polymers and small molecules in organic electronic applications