Characterization of the role of the spoiiid switch protein during bacillus subtilis sporulation