Scientists study flow of groundwater into bays - results may help track pollution