Effects of saltwater infiltration on nested groundwater flow systems