Optically modulated fluorescent proteins