All-optical switching characteristics in bacteriorhodopsin and its applications in integrated optics.