Colloidal quantum dots based hybrid LEDs and photovoltaics