A method for livestock waste management planning in NE Spain