Crystal structure of extracellular ligand-binding receptor from Rhodopseudomonas palustris HaA2