Crystal structure of a cyanobacterial phytochrome response regulator