The effect of environmental factors on the function and structure of porins from Escherichia coli K-12