FTIR/ATR Spectroscopy Applied to the Rapid Determination of Chemical Oxygen Demand of Wastewater