Determination of volatile organic compounds in drinking and environmental waters