Enhanced flexible optoelectronic devices by controlling the wettability of an organic bifacial interlayer