New series of BODIPY dyes: Synthesis, characterization and applications in photovoltaic cells and light-emitting diodes