Bi-functional electroluminescent and photovoltaic devices based on rubrene-doped poly(3-hexylthiophene):1-(3-methoxycarbonyl)-propyl-1-phenyl-(6,6)C61 blends