Transient electronic and vibrational signatures during reversible photoswitching of a cyanobacteriochrome photoreceptor.