Effects of measurement technique and sample preparation on NIR spectroscopy analysis of livestock slurry and digestates