Structural and functional characterization of the bacterial biofilm activator RemA