High-performance ternary polymer solar cells from a structurally similar polymer alloy