Quantitative relations between interaction parameter, miscibility and function in organic solar cells