Regulation of Bacillus subtilis macrofiber twist development by ions: effects of magnesium and ammonium