Application of reverse osmosis in purifying drinking water