Crystal structure of a dual sensor histidine kinase in the green-light absorbing Pg state