Research on ultraviolet-visible absorption spectrum preprocessing for water quality contamination detection