Ultrafast dynamics and anionic active states of the flavin cofactor in cryptochrome and photolyase.