Energy and resource‐efficient reverse osmosis system with tunable recovery for brackish water desalination and heavy metal removal