Logarithmic sensing in Bacillus subtilis aerotaxis