How molecular morphology affects the performance of organic solar cells