River water quality analysis via headspace detection of volatile organic compounds