Structural basis of photoswitching in fluorescent proteins.