Early prediction of declining health in small ruminants with accelerometers and machine learning