Structure of surface layer protein SbsC, domains 1-6