Evaluation of groundwater quality in coastal areas: implications for sustainable agriculture