Why polyamide reverse-osmosis membranes work so well