Portas lógicas moleculares fotoeletroquímicas e optoeletrônicas