Factor analysis for the study of water resources contamination due to the use of livestock slurries as fertilizer