Nitrogen fixation and nitrate utilization by marine and freshwater Beggiatoa