Action of Electron-Accepting Quenchers in Photoisomerization of Naphthylethylenes in Polar and Nonpolar Solvents