Photophysical properties of 1-pyridine-3-phenylpyrazoloquinoline and molecular logic gate implementation