Performance optimization of bulk heterojunction organic solar cell