Detecting lameness in sows from ear tag-sampled acceleration data using wavelets.